Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.ecm.webapp.directory.directoryUI--layouts

This contribution is part of XML component org.nuxeo.ecm.webapp.directory.directoryUI inside nuxeo-platform-webapp-core-5.8.jar

Extension Point

Extension point layouts of component WebLayoutManager.

Contributed Items

  • <layout name="vocabulary">
          <templates>
            <template mode="any">
              /directory/directory_layout_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>vocabulary_id</widget>
            </row>
            <row>
              <widget>vocabulary_label</widget>
            </row>
            <row>
              <widget>vocabulary_obsolete</widget>
            </row>
            <row>
              <widget>vocabulary_order</widget>
            </row>
          </rows>
        </layout>
  • <layout name="country_vocabulary">
          <templates>
            <template mode="any">
              /directory/directory_layout_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>parent</widget>
            </row>
            <row>
              <widget>xvocabulary_id</widget>
            </row>
            <row>
              <widget>xvocabulary_label</widget>
            </row>
            <row>
              <widget>xvocabulary_obsolete</widget>
            </row>
            <row>
              <widget>xvocabulary_order</widget>
            </row>
          </rows>
          <widget name="parent" type="selectOneDirectory">
            <labels>
              <label mode="any">label.vocabulary.entry.parent</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>xvocabulary:parent</field>
            </fields>
            <properties mode="any">
              <property name="directoryName">continent</property>
              <property name="localize">true</property>
            </properties>
            <properties widgetMode="edit">
              <property name="required">true</property>
              <property name="displayObsoleteEntries">true</property>
            </properties>
          </widget>
        </layout>
  • <layout name="subtopic_vocabulary">
          <templates>
            <template mode="any">
              /directory/directory_layout_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>parent</widget>
            </row>
            <row>
              <widget>xvocabulary_id</widget>
            </row>
            <row>
              <widget>xvocabulary_label</widget>
            </row>
            <row>
              <widget>xvocabulary_obsolete</widget>
            </row>
            <row>
              <widget>xvocabulary_order</widget>
            </row>
          </rows>
          <widget name="parent" type="selectOneDirectory">
            <labels>
              <label mode="any">label.vocabulary.entry.parent</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>xvocabulary:parent</field>
            </fields>
            <properties mode="any">
              <property name="directoryName">topic</property>
              <property name="localize">true</property>
            </properties>
            <properties widgetMode="edit">
              <property name="required">true</property>
              <property name="displayObsoleteEntries">true</property>
            </properties>
          </widget>
        </layout>
  • <layout name="l10nvocabulary">
          <templates>
            <template mode="any">
              /directory/directory_layout_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>l10nvocabulary_id</widget>
            </row>
            <row>
              <widget>l10nvocabulary_label_fr</widget>
            </row>
            <row>
              <widget>l10nvocabulary_label_en</widget>
            </row>
            <row>
              <widget>l10nvocabulary_obsolete</widget>
            </row>
            <row>
              <widget>l10nvocabulary_order</widget>
            </row>
          </rows>
        </layout>
  • <layout name="l10ncoverage_vocabulary">
          <templates>
            <template mode="any">
              /directory/directory_layout_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>parent</widget>
            </row>
            <row>
              <widget>l10nxvocabulary_id</widget>
            </row>
            <row>
              <widget>l10nxvocabulary_label_en</widget>
            </row>
            <row>
              <widget>l10nxvocabulary_label_fr</widget>
            </row>
            <row>
              <widget>l10nxvocabulary_obsolete</widget>
            </row>
            <row>
              <widget>l10nxvocabulary_order</widget>
            </row>
          </rows>
          <widget name="parent" type="select_l10n_vocabulary_tree">
            <labels>
              <label mode="any">label.vocabulary.entry.parent</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>l10nxvocabulary:parent</field>
            </fields>
            <properties mode="any">
              <property name="directoryName">l10ncoverage</property>
              <property name="selectIdOnly">true</property>
            </properties>
            <properties widgetMode="edit">
              <property name="required">true</property>
              <property name="displayObsoleteEntries">true</property>
            </properties>
          </widget>
        </layout>
  • <layout name="l10nsubjects_vocabulary">
          <templates>
            <template mode="any">
              /directory/directory_layout_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>parent</widget>
            </row>
            <row>
              <widget>l10nxvocabulary_id</widget>
            </row>
            <row>
              <widget>l10nxvocabulary_label_en</widget>
            </row>
            <row>
              <widget>l10nxvocabulary_label_fr</widget>
            </row>
            <row>
              <widget>l10nxvocabulary_obsolete</widget>
            </row>
            <row>
              <widget>l10nxvocabulary_order</widget>
            </row>
          </rows>
          <widget name="parent" type="select_l10n_vocabulary_tree">
            <labels>
              <label mode="any">label.vocabulary.entry.parent</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>l10nxvocabulary:parent</field>
            </fields>
            <properties mode="any">
              <property name="directoryName">l10nsubjects</property>
              <property name="selectIdOnly">true</property>
            </properties>
            <properties widgetMode="edit">
              <property name="required">true</property>
              <property name="displayObsoleteEntries">true</property>
            </properties>
          </widget>
        </layout>

XML Source

<extension point="layouts" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <layout name="vocabulary">
      <templates>
        <template mode="any">
          /directory/directory_layout_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>vocabulary_id</widget>
        </row>
        <row>
          <widget>vocabulary_label</widget>
        </row>
        <row>
          <widget>vocabulary_obsolete</widget>
        </row>
        <row>
          <widget>vocabulary_order</widget>
        </row>
      </rows>
    </layout>

    <layout name="country_vocabulary">
      <templates>
        <template mode="any">
          /directory/directory_layout_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>parent</widget>
        </row>
        <row>
          <widget>xvocabulary_id</widget>
        </row>
        <row>
          <widget>xvocabulary_label</widget>
        </row>
        <row>
          <widget>xvocabulary_obsolete</widget>
        </row>
        <row>
          <widget>xvocabulary_order</widget>
        </row>
      </rows>
      <widget name="parent" type="selectOneDirectory">
        <labels>
          <label mode="any">label.vocabulary.entry.parent</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>xvocabulary:parent</field>
        </fields>
        <properties mode="any">
          <property name="directoryName">continent</property>
          <property name="localize">true</property>
        </properties>
        <properties widgetMode="edit">
          <property name="required">true</property>
          <property name="displayObsoleteEntries">true</property>
        </properties>
      </widget>
    </layout>

    <layout name="subtopic_vocabulary">
      <templates>
        <template mode="any">
          /directory/directory_layout_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>parent</widget>
        </row>
        <row>
          <widget>xvocabulary_id</widget>
        </row>
        <row>
          <widget>xvocabulary_label</widget>
        </row>
        <row>
          <widget>xvocabulary_obsolete</widget>
        </row>
        <row>
          <widget>xvocabulary_order</widget>
        </row>
      </rows>
      <widget name="parent" type="selectOneDirectory">
        <labels>
          <label mode="any">label.vocabulary.entry.parent</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>xvocabulary:parent</field>
        </fields>
        <properties mode="any">
          <property name="directoryName">topic</property>
          <property name="localize">true</property>
        </properties>
        <properties widgetMode="edit">
          <property name="required">true</property>
          <property name="displayObsoleteEntries">true</property>
        </properties>
      </widget>
    </layout>

    <layout name="l10nvocabulary">
      <templates>
        <template mode="any">
          /directory/directory_layout_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>l10nvocabulary_id</widget>
        </row>
        <row>
          <widget>l10nvocabulary_label_fr</widget>
        </row>
        <row>
          <widget>l10nvocabulary_label_en</widget>
        </row>
        <row>
          <widget>l10nvocabulary_obsolete</widget>
        </row>
        <row>
          <widget>l10nvocabulary_order</widget>
        </row>
      </rows>
    </layout>

    <layout name="l10ncoverage_vocabulary">
      <templates>
        <template mode="any">
          /directory/directory_layout_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>parent</widget>
        </row>
        <row>
          <widget>l10nxvocabulary_id</widget>
        </row>
        <row>
          <widget>l10nxvocabulary_label_en</widget>
        </row>
        <row>
          <widget>l10nxvocabulary_label_fr</widget>
        </row>
        <row>
          <widget>l10nxvocabulary_obsolete</widget>
        </row>
        <row>
          <widget>l10nxvocabulary_order</widget>
        </row>
      </rows>
      <widget name="parent" type="select_l10n_vocabulary_tree">
        <labels>
          <label mode="any">label.vocabulary.entry.parent</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>l10nxvocabulary:parent</field>
        </fields>
        <properties mode="any">
          <property name="directoryName">l10ncoverage</property>
          <property name="selectIdOnly">true</property>
        </properties>
        <properties widgetMode="edit">
          <property name="required">true</property>
          <property name="displayObsoleteEntries">true</property>
        </properties>
      </widget>
    </layout>

    <layout name="l10nsubjects_vocabulary">
      <templates>
        <template mode="any">
          /directory/directory_layout_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>parent</widget>
        </row>
        <row>
          <widget>l10nxvocabulary_id</widget>
        </row>
        <row>
          <widget>l10nxvocabulary_label_en</widget>
        </row>
        <row>
          <widget>l10nxvocabulary_label_fr</widget>
        </row>
        <row>
          <widget>l10nxvocabulary_obsolete</widget>
        </row>
        <row>
          <widget>l10nxvocabulary_order</widget>
        </row>
      </rows>
      <widget name="parent" type="select_l10n_vocabulary_tree">
        <labels>
          <label mode="any">label.vocabulary.entry.parent</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>l10nxvocabulary:parent</field>
        </fields>
        <properties mode="any">
          <property name="directoryName">l10nsubjects</property>
          <property name="selectIdOnly">true</property>
        </properties>
        <properties widgetMode="edit">
          <property name="required">true</property>
          <property name="displayObsoleteEntries">true</property>
        </properties>
      </widget>
    </layout>

  </extension>